package com.beans;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-10-11
 * Time:8:40
 */
@Controller
public class UserBean {
//    @Bean(name = "user1")
    public void sayHi(){
        System.out.println("你好！Bean");
    }
}
